const Avatars = (mongoose) => {
  const { Schema, model } = mongoose
  const AvatarSchema = new Schema(
    {
      fileUrl: {
        type: String,
      },
      fileName: {
        type: String,
      },
      fileTimeName: {
        type: String,
      },
      fileType: {
        type: String,
      },
    },
    {
      timestamps: true,
    }
  )
  return model('Avatar', AvatarSchema)
}

module.exports = Avatars
